package com.xiaoye.qbproject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoye.qbproject.domain.ZbModule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【ZB_MODULE(装备组件)】的数据库操作Mapper
 * @createDate 2024-12-27 03:00:22
 * @Entity com.xiaoye.qbproject.domain.ZbModule
 */
public interface ZbModuleMapper extends BaseMapper<ZbModule> {

    void removeRelation(@Param("zbInfoId") String zbInfoId);

    /***
     * @description: 设置装备与组件关系
     * @author: ChenYao
     * @param zbInfoId
     * @param zbModuleIds
     * @return: void
     * @ceateDate: 2024-12-27 4:20
     */

    void setRelation(@Param("zbInfoId") String zbInfoId, @Param("zbModuleIds") List<String> zbModuleIds);
}




